package com.zm.shop.entity;

import com.zm.shop.common.entity.GoodsEntity;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CarEntity {
    private Integer cid; //购物车id

    private Integer gid; // 商品id

    private Integer count; //商品数量

    private GoodsEntity goodsEntity; // 当前商品的信息

    private BigDecimal subTotal; //总价

    private String status; //自定义：订单加1减1状态
}
